import request from '@/utils/request'
//课程团队管理接口
export function sysCourseTeamQuery(data) { //课程团队信息分页列表
    return request({
        method: 'get',
        url: '/sysCourseTeam/query',
        params: data
    })
}

export function sysCourseTeamQueryById(id) { //查询一条课程团队信息
    return request({
        method: 'get',
        url: '/sysCourseTeam/query/' + id,
    })
}

export function sysCourseTeamAdd(data) { //添加一条课程团队信息
    return request({
        method: 'post',
        url: '/sysCourseTeam/add',
        data
    })
}

export function sysCourseTeamDelete(id) { //删除一条课程团队信息
    return request({
        method: 'get',
        url: '/sysCourseTeam/delete/' + id,
    })
}

export function sysCourseTeamUpdate(data) { //修改一条课程团队信息
    return request({
        method: 'post',
        url: '/sysCourseTeam/update',
        data
    })
}

export function sysCourseTeamUpdateOriginator(data) { //修改课程创建人
    return request({
        method: 'post',
        url: '/sysCourseTeam/updateOriginator',
        data
    })
}